﻿using CavinatorService.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace CavinatorService
{
    [ServiceContract]
    public interface ICavinatorService
    {
        [OperationContract]
        Protocol GetNextState(Protocol actualState);

        [OperationContract]
        List<Question> PerguntasAResponder();

        [OperationContract]
        List<Answer> PerguntasRespondidas();

        [OperationContract]
        void InserirNovoItem(Item registro);
    }
}
